{extend name="layout"}
{block name="detail"}

<section class="forms">
    <div class="container-fluid">
        <div class="row">
            <!-- Form Elements -->
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header d-flex align-items-center">
                        <h3 class="h4 mr-5">分润设置</h3>
                    </div>
                    <div class="card-body">
                        <form action="{:url('admin/setting/saveProfitRule')}" method="post">
                            <div class="table-responsive">
                                <table class="table">
                                    <tr >
                                        <td class="border">代理返利比例不小于 <input type="text" placeholder="例如:20" name="min_profit"  value="{$rule}" required>%</td>
                                    </tr>
                                    <tr>
                                        <td  class="border text-center"><input type="submit" class="btn btn-primary" value="确定"></td>
                                    </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


{/block}